
module.exports = (sequelize, Types) => {
    const Live = sequelize.define('Live', {
        name: Types.STRING(80),
        img: Types.STRING(200),
        url: Types.STRING(200),
        txt: Types.STRING(100),
        bTime: Types.DATE,
        lTime: Types.DATE,
    }, {
        tableName: 'live',
        timestamps: false,//禁止seq自动添加createAt,updatedAt
    });
    Live.sync();
    return Live;
};